package com.xmzgxcl.java202108.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
/**
 * 员工基本信息实体类
 */
public class Employee {
    /**员工编号*/
    private Long id;
    /**员工姓名*/
    private String name;
    /**员工年龄*/
    private Integer age;
    /**性别*/
    private Gender gender;
    /**入职时间*/
    private Date time;
    /**薪水*/
    private Double salary;
    /**职务编号*/
    private Long title_id;
    /**部门编号*/
    private Long dept_id;

}
